home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS18.ADF / Games / DropShadow2 / ReadMe.DOC < prev    next >
Text File  |  1989-01-27  |  3KB  |  82 lines

  1.  
  2.     DropShadow                     Copyright James Mackraz, 1987
  3.     Version 2, Revision 0                        April 7, 1987
  4.  
  5.     -----    -----------------------------------------   -----
  6.     Notes for Version 2, Revision 0             April 7, 1987
  7.  
  8.     Added the following from the wish list:
  9.  
  10.     -A slider gadget is implemented to adjust the 3-dimensional
  11.     distance between the planes of the windows.
  12.  
  13.     -A slider gadget is implemented to adjust shadow darkness.  If
  14.     desired, full independent control of the shadow colors is
  15.     possible.
  16.  
  17.     I had some problems with the latter, so I now increase the
  18.     task priority while the darkness slider is selected.  It
  19.     has not been tested thoroughly.
  20.  
  21.     -----    -----------------------------------------   -----
  22.     Notes for Version 1, Revision 1                March 12,1987
  23.  
  24.     When Windows are moved, created, sized, deleted, or depth-
  25.     arranged, Intuition calls layers.library.  This program
  26.     intercepts those calls to determine that the shadow needs
  27.     to be recalculated.  Before this version, this recalculating
  28.     and redrawing was done before Intuition got a chance to
  29.     redraw Window borders and Gadgets.
  30.  
  31.     This version of DropShadow performs the work on its schedule,
  32.     and is only signaled by the code which intercepts the
  33.     layers calls.  This makes for a smoother and less dangerous
  34.     implementation.
  35.     -----    -----------------------------------------   -----
  36.     Notes for Version 1, Revision 0                March 1, 1987
  37.  
  38.  
  39.     The program on this disk creates and maintains multi-level
  40.     transparent drop shadows of windows on the Workbench screen.
  41.  
  42.     The program creates its own window, and is terminated by closing
  43.     that window.  The program, named DropShadow, may be run from
  44.     the CLI, or if associated with an icon, from the Workbench.
  45.  
  46.     The shadows are created by attaching an additional bitplane to
  47.     the Workbench's display bit map, but doing so in a way which
  48.     is transparent to the Workbench or its application programs.
  49.  
  50.     Unfortunately, this third bitplane brings the Workbench screen
  51.     to a point which causes processor cycles to be stolen by the
  52.     display generation hardware.  Thus, this program is probably
  53.     best used only for demos and having fun, at least for users
  54.     without "Fast" RAM.
  55.  
  56.     Enhancements which are planned include:
  57.  
  58.     -The program detects that the shadow image needs to be
  59.     recalculated by monitoring the layers library.  That section
  60.     of code should check that the layers activity is in fact in
  61.     the Workbench screen.
  62.  
  63.     -A way to detect color changes in preferences would allow the
  64.     shadow colors to track user changes to the Workbench colors.
  65.     In the meantime, the program must be restarted to initialize the
  66.     shadow colors.  Commodities Exchange can be used for this.
  67.  
  68.     -A technique of unknown type is planned for user control of
  69.     the light source which casts shadows.  Shadows cast according
  70.     to the position of the sun (time of day and season) are possible
  71.     but unlikely.
  72.  
  73.     -This program is not yet a safe Library vector stealer.  It should
  74.     refuse to exit if some other program has displaced its vectors,
  75.     lest that other program call DropShadow after it has exited.
  76.  
  77.  
  78.                                 Jim Mackraz
  79.                                 7101 Rainbow Drive #8
  80.                                 San Jose, CA  95129
  81.  
  82.